# -*- coding: utf-8 -*-

###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc

###########################################################################
## Class LingLunMainFrame
###########################################################################

class LingLunMainFrame ( wx.Frame ):

    def __init__( self, parent ):
        wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 1200,720 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL, name = u"LingLunConverter" )

        self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
        self.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "OPPOSans R" ) )
        self.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )
        self.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOW ) )

        self.m_statusBar2 = self.CreateStatusBar( 1, wx.STB_SIZEGRIP, wx.ID_ANY )
        self.m_statusBar2.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "OPPOSans R" ) )

        self.m_menubar1 = wx.MenuBar( 0 )
        self.m_menubar1.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "OPPOSans R" ) )

        self.FileMenu = wx.Menu()
        self.m_SaveProj_menuItem9 = wx.MenuItem( self.FileMenu, wx.ID_ANY, u"保存", wx.EmptyString, wx.ITEM_NORMAL )
        self.FileMenu.Append( self.m_SaveProj_menuItem9 )

        self.FileMenu.AppendSeparator()

        self.m_Import_submenu1 = wx.Menu()
        self.m_ImportFromMidi_menuItem10 = wx.MenuItem( self.m_Import_submenu1, wx.ID_ANY, u"从Midi文件导入", wx.EmptyString, wx.ITEM_NORMAL )
        self.m_Import_submenu1.Append( self.m_ImportFromMidi_menuItem10 )

        self.FileMenu.AppendSubMenu( self.m_Import_submenu1, u"导入…" )

        self.FileMenu.AppendSeparator()

        self.m_ClearSetting_menuItem2 = wx.MenuItem( self.FileMenu, wx.ID_ANY, u"重置设置", u"将全部数据设置重置为默认值（下次启动时生效）", wx.ITEM_CHECK )
        self.FileMenu.Append( self.m_ClearSetting_menuItem2 )

        self.m_Exit_menuItem1 = wx.MenuItem( self.FileMenu, wx.ID_ANY, u"退出", u"这是退出按钮", wx.ITEM_NORMAL )
        self.FileMenu.Append( self.m_Exit_menuItem1 )

        self.m_menubar1.Append( self.FileMenu, u"文件" )

        self.AdoptMenu = wx.Menu()
        self.play_via_websocket = wx.MenuItem( self.AdoptMenu, wx.ID_ANY, u"启用WebSocket服务播放", u"在指定端口上开启WebSocket播放服务器", wx.ITEM_NORMAL )
        self.AdoptMenu.Append( self.play_via_websocket )

        self.m_Export_menuItem11 = wx.MenuItem( self.AdoptMenu, wx.ID_ANY, u"导出…", wx.EmptyString, wx.ITEM_NORMAL )
        self.AdoptMenu.Append( self.m_Export_menuItem11 )

        self.m_menubar1.Append( self.AdoptMenu, u"接出" )

        self.AboutMenu = wx.Menu()
        self.m_author_info_menuItem4 = wx.MenuItem( self.AboutMenu, wx.ID_ANY, u"作者信息", u"查看关于信息", wx.ITEM_NORMAL )
        self.AboutMenu.Append( self.m_author_info_menuItem4 )

        self.m_menubar1.Append( self.AboutMenu, u"关于" )

        self.SetMenuBar( self.m_menubar1 )

        m_mainBoxSizer = wx.BoxSizer( wx.VERTICAL )

        s_yanLunbarSizer = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"言·论" ), wx.VERTICAL )

        self.m_LinglunWords_staticText1 = wx.StaticText( s_yanLunbarSizer.GetStaticBox(), wx.ID_ANY, u"灵光焕发 深艺献心", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTER_HORIZONTAL|wx.ST_ELLIPSIZE_MIDDLE|wx.ST_NO_AUTORESIZE )
        self.m_LinglunWords_staticText1.Wrap( -1 )

        self.m_LinglunWords_staticText1.SetFont( wx.Font( 12, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, "OPPOSans B" ) )
        self.m_LinglunWords_staticText1.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_HIGHLIGHTTEXT ) )
        self.m_LinglunWords_staticText1.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )

        s_yanLunbarSizer.Add( self.m_LinglunWords_staticText1, 0, wx.EXPAND, 5 )


        m_mainBoxSizer.Add( s_yanLunbarSizer, 0, wx.ALL|wx.EXPAND|wx.RESERVE_SPACE_EVEN_IF_HIDDEN|wx.TOP, 2 )

        b_MainDCAreaSizer = wx.BoxSizer( wx.HORIZONTAL )

        s_TrackSizer = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"乐器注轨" ), wx.VERTICAL )


        b_MainDCAreaSizer.Add( s_TrackSizer, 5, wx.EXPAND, 5 )

        s_NotesSizer = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"编辑音符" ), wx.VERTICAL )


        b_MainDCAreaSizer.Add( s_NotesSizer, 40, wx.EXPAND, 5 )


        m_mainBoxSizer.Add( b_MainDCAreaSizer, 1, wx.EXPAND, 5 )


        self.SetSizer( m_mainBoxSizer )
        self.Layout()

        self.Centre( wx.BOTH )

        # Connect Events
        self.Bind( wx.EVT_MENU, self.onSaveProjButtonPressed, id = self.m_SaveProj_menuItem9.GetId() )
        self.Bind( wx.EVT_MENU, self.onImportFromMidiButtonPressed, id = self.m_ImportFromMidi_menuItem10.GetId() )
        self.Bind( wx.EVT_MENU, self.onResetSettingButtonSelection, id = self.m_ClearSetting_menuItem2.GetId() )
        self.Bind( wx.EVT_MENU, self.onExitButtonPressed, id = self.m_Exit_menuItem1.GetId() )
        self.Bind( wx.EVT_MENU, self.onWebSocketPlayButtonPressed, id = self.play_via_websocket.GetId() )
        self.Bind( wx.EVT_MENU, self.onExportButtonPressed, id = self.m_Export_menuItem11.GetId() )
        self.Bind( wx.EVT_MENU, self.on_author_button_pressed, id = self.m_author_info_menuItem4.GetId() )
        self.m_LinglunWords_staticText1.Bind( wx.EVT_LEFT_DCLICK, self.onYanlunDoubleClicked )
        self.m_LinglunWords_staticText1.Bind( wx.EVT_MOUSEWHEEL, self.onYanlunWheeled )

    def __del__( self ):
        pass


    # Virtual event handlers, override them in your derived class
    def onSaveProjButtonPressed( self, event ):
        event.Skip()

    def onImportFromMidiButtonPressed( self, event ):
        event.Skip()

    def onResetSettingButtonSelection( self, event ):
        event.Skip()

    def onExitButtonPressed( self, event ):
        event.Skip()

    def onWebSocketPlayButtonPressed( self, event ):
        event.Skip()

    def onExportButtonPressed( self, event ):
        event.Skip()

    def on_author_button_pressed( self, event ):
        event.Skip()

    def onYanlunDoubleClicked( self, event ):
        event.Skip()

    def onYanlunWheeled( self, event ):
        event.Skip()


